function _defineProperty(e, t, r) {
    return t in e ? Object.defineProperty(e, t, {
        value: r,
        enumerable: !0,
        configurable: !0,
        writable: !0
    }) : e[t] = r, e;
}

var tipTimer;

function show(e, t) {
    var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : "toptip", i = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : 1500;
    return clearTimeout(tipTimer), e.setData(_defineProperty({}, r, t)), tipTimer = setTimeout(function() {
        e.setData(_defineProperty({}, r, "")), clearTimeout(tipTimer);
    }, i), e;
}

Object.defineProperty(exports, "__esModule", {
    value: !0
}), exports.default = void 0;

var _default = {
    show: show
};

exports.default = _default;